<template>
  <div>
    后台首页 <br />
    <template v-if="userStore.user">
      {{ userStore.user.username }} <br />
    </template>
    <template v-else> 加载中... </template>
  </div>
</template>

<script setup name="Index">
import { useUserStore } from "../stores";
const userStore = useUserStore();


</script>

<style scoped></style>
